package com.chj.feigns;

import static org.springframework.web.bind.annotation.RequestMethod.GET;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "TEST-RESOURCE01")
public interface TestServiceFeignClient {

	@RequestMapping(value = "/api/test1", method = GET)
	public String test1(@RequestParam("p") String param);

	@RequestMapping(value = "/api/test2", method = GET)
	public String test2(@RequestParam("p") String param);
}
